﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace Core.DataAccess.Model.Migrations.ProjectComment
{
    public partial class commentaddType : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<long>(
                name: "comment_key",
                table: "Comment_Reply",
                nullable: false,
                oldClrType: typeof(int));

            migrationBuilder.AddColumn<string>(
                name: "Type",
                table: "Comment_List",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "Type",
                table: "Comment_List");

            migrationBuilder.AlterColumn<int>(
                name: "comment_key",
                table: "Comment_Reply",
                nullable: false,
                oldClrType: typeof(long));
        }
    }
}
